Autogenerated HTML docs for v1.5.0-rc1
diff --git a/git-init.html b/git-init.html index 6bc5b1f..b400c4a 100644 --- a/git-init.html +++ b/git-init.html
@@ -256,23 +256,23 @@ padding-left: 0.5em; } </style> -<title>git-init-db(1)</title> +<title>git-init(1)</title> </head> <body> <div id="header"> <h1> -git-init-db(1) Manual Page +git-init(1) Manual Page </h1> <h2>NAME</h2> <div class="sectionbody"> -<p>git-init-db - +<p>git-init - Creates an empty git repository </p> </div> </div> <h2>SYNOPSIS</h2> <div class="sectionbody"> -<p><em>git-init-db</em> [--template=<template_directory>] [--shared[=<permissions>]]</p> +<p><em>git-init</em> [--template=<template_directory>] [--shared[=<permissions>]]</p> </div> <h2>OPTIONS</h2> <div class="sectionbody"> @@ -343,10 +343,17 @@ <p>If the object storage directory is specified via the <tt>$GIT_OBJECT_DIRECTORY</tt> environment variable then the sha1 directories are created underneath - otherwise the default <tt>$GIT_DIR/objects</tt> directory is used.</p> -<p>Running <tt>git-init-db</tt> in an existing repository is safe. It will not overwrite -things that are already there. The primary reason for rerunning <tt>git-init-db</tt> +<p>Running <tt>git-init</tt> in an existing repository is safe. It will not overwrite +things that are already there. The primary reason for rerunning <tt>git-init</tt> is to pick up newly added templates.</p> -<p>Note that <tt>git-init</tt> is the same as <tt>git-init-db</tt>.</p> +<p>Note that <tt>git-init</tt> is the same as <tt>git-init-db</tt>. The command +was primarily meant to initialize the object database, but over +time it has become responsible for setting up the other aspects +of the repository, such as installing the default hooks and +setting the configuration variables. The old name is retained +because people are so used to it and many existing documents +refer to it that way, and this will not change for some time to +come.</p> </div> <h2>EXAMPLES</h2> <div class="sectionbody"> @@ -358,7 +365,7 @@ <div class="listingblock"> <div class="content"> <pre><tt>$ cd /path/to/my/codebase -$ git-init-db <b>(1)</b> +$ git-init <b>(1)</b> $ git-add . <b>(2)</b></tt></pre> </div></div> <ol> @@ -390,7 +397,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 11-Jan-2007 00:35:44 UTC +Last updated 12-Jan-2007 02:43:35 UTC </div> </div> </body>